<?php

namespace App\Modules\Kyzfjob\Services;

use App\Library\Junda\src\EquipmentService;
use App\Modules\Admin\Entities\Water\WaterDeviceModel;

class DeviceServices
{

    public function getIsOnlineList()
    {


       $lists =  WaterDeviceModel::getInstance()->get()->toArray();

       foreach ($lists as $item){



           $checkPay = EquipmentService::CheckEqBeforePay($item['equipment_id']);
           $checkPay = EquipmentService::CheckEqBeforePay($item['equipment_id_rich']);
       }


    }
}
